import axios from ".";

export const getCommentList = (blog_id: number, page?: number, limit?: number) => {
	return axios.get(`/comment/getlist/${blog_id}`, { params: { page, limit } });
};
export const createComment = (blog_id: number, content: string) => {
	return axios.post(`/comment/create/${blog_id}`, { content });
};
